﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using RedPanda.MusicPlayer.Utils;

namespace RedPanda.MusicPlayer.DataModel
{
    //歌手信息
    [Serializable]
    public class Artist
    {
        #region fileds
        private string id;
        private string name;
        private string picLocation;
        private string bio;
        #endregion

        public Artist(string name)
        {
            this.id = MusicPlayerUtils.GetArtistId(name);
            this.name = name;
            this.picLocation = string.Empty;
            this.bio = string.Empty;
        }

        public Artist()
        {
        }


        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string PicLocation
        {
            get { return picLocation; }
            set { picLocation = value; }
        }

        public string Bio
        {
            get { return bio; }
            set { bio = value; }
        }
        public string ID
        {
            get { return id; }
            set{ id = value; }
        }
    }
}
